﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.Master" AutoEventWireup="true" CodeBehind="add.aspx.cs" Inherits="Maticsoft.Web.Admin.add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../StyleSheet1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    .style2
    {
        text-align: right;
        background-color: #E6FFFF;
        font-weight: bold;
    }
    .newstyle3
    {
        text-align: left;
        background-color: #FFFFFF;
    }
    .style1
    {
        background-color: #66CCFF;
    }
    .news1
    {
        background-color: #FFFFFF;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
    var selecti = 0;
    function change(id) {
        //var iid = id;
        
        switch (id) {
            case "RB1":
                selecti = 1;
                document.getElementById("zipian").style.display = "none";
                document.getElementById("renwu").style.display = "";
                break;
            case "RB2":
                document.getElementById("zipian").style.display = "";
                document.getElementById("renwu").style.display = "none";
                break;
            case "RB3":
                document.getElementById("zipian").style.display = "";
                document.getElementById("renwu").style.display = "none";
                break;
            case "RB4":
                document.getElementById("subpian").style.display = "";
                document.getElementById("subzi").style.display = "none";
                document.getElementById("ccp").style.display = "";
                document.getElementById("ccz").style.display = "none";
                document.getElementById("bzp").style.display = "";
                document.getElementById("bzz").style.display = "none";
                break;
            case "RB5":
                document.getElementById("subpian").style.display = "none";
                document.getElementById("subzi").style.display = "";
                document.getElementById("ccp").style.display = "none";
                document.getElementById("ccz").style.display = "";
                document.getElementById("bzp").style.display = "none";
                document.getElementById("bzz").style.display = "";
                break;
        }
        //var span = document.getElementById(iid).firstChild.c;
        //alert(span.length);
    }
</script>
    
    <div class="content"><center>
    <fieldset>
    <legend>添加考核标准</legend>
        <table class="style1" border="0" cellpadding="5" cellspacing="1">
        <tbody>
            <tr>
                <td class="style2">
                    考核标准名：</td>
                <td class="newstyle3">
                    <asp:TextBox ID="TBname" runat="server"></asp:TextBox>
                    <asp:RadioButton ID="RB1" runat="server" Text="按任务" GroupName="41"   />
                    <asp:RadioButton ID="RB2" runat="server" Text="按字数" GroupName="41" 
                        Checked="True"   />
                    <asp:RadioButton ID="RB3" runat="server" Text="按篇数" GroupName="41"  />
                   
            </tr >
           </tbody>
           <tbody id="zipian">
            <tr >
                <td class="style2">
                    单位字/篇数：</td>
                <td class="newstyle3">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    字/篇</td>
            </tr>
            <tr>
                <td class="style2">
                    单位价格：</td>
                <td class="newstyle3">
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                    元</td>
            </tr>
            <tr>
                <td class="style2">
                    每张图片：</td>
                <td class="newstyle3">
                    <asp:TextBox ID="TextBox25" runat="server"></asp:TextBox>
                    元</td>
            </tr>
            </tbody>
            <tbody id="renwu" style="display:none;">
            <tr>
                <td class="style2" >
                    基本任务：</td>
                <td class="newstyle3">
                    任务周期：<asp:DropDownList ID="DropDownList1" runat="server">
                       
                        <asp:ListItem Value="-4">周</asp:ListItem>
                       <asp:ListItem Value="-1">周</asp:ListItem>
                    </asp:DropDownList>
&nbsp;<asp:RadioButton ID="RB4" runat="server" Text="按篇数" Checked="True" GroupName="22" />
                    <asp:RadioButton ID="RB5" runat="server" Text="按字数" GroupName="22" />
                &nbsp;基本任务完成价格<asp:TextBox ID="TextBox17" runat="server" Width="38px"></asp:TextBox>
                    元</td>
            </tr>
            <tr id="subpian">
                <td class="style2">
                    &nbsp;</td>
                <td class="newstyle3">
                    每个周期必须完成<asp:TextBox ID="TextBox4" runat="server" Width="38px">1</asp:TextBox>
                    篇文章。每篇必须大于<asp:TextBox ID="TextBox15" runat="server" Width="38px">0</asp:TextBox>
                    字，并包括<asp:TextBox ID="TextBox16" runat="server" Width="38px"></asp:TextBox>
                    张图片。<br />
                    </td>
            </tr>
            <tr id="subzi" style="display:none;">
                <td class="style2">
                    &nbsp;</td>
                <td class="newstyle3">
                    每个周期必须完成<asp:TextBox ID="TextBox5" runat="server" Width="38px">500</asp:TextBox>
                    字，并且包括<asp:TextBox ID="TextBox6" runat="server" Width="38px"></asp:TextBox>
                    张图片。</td>
            </tr>
            <tr id="ccp">
                <td class="style2">
                    超出部分：</td>
                <td class="newstyle3">
                    每超出<asp:TextBox ID="TextBox7" runat="server" Width="38px"></asp:TextBox>
                    篇文章，奖励<asp:TextBox ID="TextBox8" runat="server" Width="38px"></asp:TextBox>
                    元<br />
                    </td>
            </tr>
            <tr id="ccz" style="display:none;">
                <td class="style2">
                    超出部分：</td>
                <td class="newstyle3">
                    每超出<asp:TextBox ID="TextBox9" runat="server" Width="38px"></asp:TextBox>
                    字，奖励<asp:TextBox ID="TextBox10" runat="server" Width="38px"></asp:TextBox>
                    元；每超出一张图片，奖励<asp:TextBox ID="TextBox12" runat="server" Width="38px"></asp:TextBox>
                    元。</td>
            </tr>
            <tr id="bzp">
                <td class="style2">
                    不够部分：</td>
                <td class="newstyle3">
                    每个周期拖欠<asp:TextBox ID="TextBox18" runat="server" Width="38px"></asp:TextBox>
                    篇文章，从基本任务完成价格中扣除<asp:TextBox ID="TextBox19" runat="server" Width="38px"></asp:TextBox>
                    元<br />
                    </td>
            </tr>
            <tr id="bzz" style="display:none;">
                <td class="style2">
                    不够部分：</td>
                <td class="newstyle3">
                    每个周期拖欠<asp:TextBox ID="TextBox20" runat="server" Width="38px"></asp:TextBox>
                    字，从基本价格中扣除<asp:TextBox ID="TextBox21" runat="server" Width="38px"></asp:TextBox>
                    元，每拖欠一张图片，从基本价格中扣除<asp:TextBox ID="TextBox23" runat="server" Width="38px"></asp:TextBox>
                    元</td>
            </tr>
            <tr>
                <td class="style2">
                    
                </td>
                <td class="newstyle3">
                    &nbsp;</td>
            </tr>
            </tbody>
        </table>
        <asp:Button ID="Button1" runat="server" Text="添加" onclick="Button1_Click" />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True" CellPadding="4" DataKeyNames="assessmentid" 
            ForeColor="#333333" GridLines="None" 
            onrowcancelingedit="GridView1_RowCancelingEdit" 
            onrowdeleting="GridView1_RowDeleting" onrowediting="GridView1_RowEditing" 
            onrowupdating="GridView1_RowUpdating">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="编号" InsertVisible="False" 
                    SortExpression="assessmentid">
                    <EditItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("assessmentid") %>'></asp:Label>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("assessmentid") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="标准名" SortExpression="assessmentname">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("assessmentname") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("assessmentname") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="类型" SortExpression="type">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("type") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label3" runat="server" Text='<%# Bind("type") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="计算单位" SortExpression="unit">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("unit") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label4" runat="server" Text='<%# Bind("unit") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单位价格" SortExpression="perprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("perprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label5" runat="server" Text='<%# Bind("perprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="图片价格" SortExpression="imgprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("imgprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label6" runat="server" Text='<%# Bind("imgprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="任务子考核类型" SortExpression="subtype">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("subtype") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label7" runat="server" Text='<%# Bind("subtype") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="循环周期" SortExpression="cycle">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("cycle") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label8" runat="server" Text='<%# Bind("cycle") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="任务基本薪水" SortExpression="basesalary">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox8" runat="server" Text='<%# Bind("basesalary") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label9" runat="server" Text='<%# Bind("basesalary") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="最少完成量" SortExpression="min">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("min") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label10" runat="server" Text='<%# Bind("min") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="每篇最少字数" SortExpression="minunit">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("minunit") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label11" runat="server" Text='<%# Bind("minunit") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="最少图片数" SortExpression="minpic">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox11" runat="server" Text='<%# Bind("minpic") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label12" runat="server" Text='<%# Bind("minpic") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="超出计算单位" SortExpression="overunit">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox12" runat="server" Text='<%# Bind("overunit") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label13" runat="server" Text='<%# Bind("overunit") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="超出单位价格" SortExpression="overprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox13" runat="server" Text='<%# Bind("overprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label14" runat="server" Text='<%# Bind("overprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="超出图片价格" SortExpression="overimgprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox14" runat="server" Text='<%# Bind("overimgprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label15" runat="server" Text='<%# Bind("overimgprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="不足计算单位" SortExpression="lessuint">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox15" runat="server" Text='<%# Bind("lessuint") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label16" runat="server" Text='<%# Bind("lessuint") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="不足单位价格" SortExpression="lessprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox16" runat="server" Text='<%# Bind("lessprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label17" runat="server" Text='<%# Bind("lessprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="不足图片价格" SortExpression="lessimgprice">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox17" runat="server" Text='<%# Bind("lessimgprice") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="Label18" runat="server" Text='<%# Bind("lessimgprice") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ShowHeader="False">
                    <EditItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" 
                            CommandName="Update" Text="更新"></asp:LinkButton>
                        &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                            CommandName="Cancel" Text="取消"></asp:LinkButton>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Edit" Text="编辑"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <EmptyDataTemplate>
                没有数据
            </EmptyDataTemplate>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
            ConnectionString="server=127.0.0.1;User Id=root;password=11111111;Persist Security Info=True;database=epaper" 
            ProviderName="MySql.Data.MySqlClient" 
            SelectCommand="SELECT assessment.* FROM assessment"></asp:SqlDataSource>
    </fieldset>
        <fieldset>
        <legend>添加记者</legend>
            <table class="style1" border="0" cellpadding="5" cellspacing="1">
                <tr>
                    <td class="style2">
                        记者姓名：</td>
                    <td class="newstyle3">
                        <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox>
                        *</td>
                </tr>
                <tr>
                    <td class="style2">
                        用户权限：</td>
                    <td class="newstyle3">
                        <asp:DropDownList ID="DropDownList4" runat="server">
                            <asp:ListItem Value="0005">记者</asp:ListItem>
                            <asp:ListItem Value="0002">总编室</asp:ListItem>
                            <asp:ListItem Value="0003">分领导</asp:ListItem>
                            <asp:ListItem Value="0004">财务部</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        考核标准：</td>
                    <td class="newstyle3">
                        <asp:DropDownList ID="DropDownList2" runat="server" 
                            DataSourceID="SqlDataSource2" DataTextField="assessmentname" 
                            DataValueField="assessmentid">
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                            ConnectionString="server=127.0.0.1;User Id=root;password=11111111;Persist Security Info=True;database=epaper" 
                            ProviderName="MySql.Data.MySqlClient" 
                            SelectCommand="SELECT assessmentid, assessmentname FROM assessment">
                        </asp:SqlDataSource>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        密码</td>
                    <td class="newstyle3">
                        <asp:TextBox ID="TextBox24" runat="server"></asp:TextBox>
                        *</td>
                </tr>
                <tr>
                    <td class="style2">
                        支付帐号：</td>
                    <td class="newstyle3">
                        <asp:TextBox ID="TextBox26" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        联系方式：</td>
                    <td class="newstyle3">
                        <asp:TextBox ID="TextBox27" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        &nbsp;</td>
                    <td class="newstyle3">
                        <asp:Button ID="Button2" runat="server" Text="添加" onclick="Button2_Click" />
                    </td>
                </tr>
            </table>
            <br />
            <asp:GridView ID="GridView2" runat="server" 
                EnableModelValidation="True" AllowPaging="True" 
                AutoGenerateColumns="False" CellPadding="4" DataKeyNames="userid" 
                ForeColor="#333333" GridLines="None" 
                onpageindexchanging="GridView2_PageIndexChanging" 
                onrowcancelingedit="GridView2_RowCancelingEdit" 
                onrowdeleting="GridView2_RowDeleting" onrowediting="GridView2_RowEditing" 
                onrowupdating="GridView2_RowUpdating">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <Columns>
                    <asp:TemplateField HeaderText="编号" InsertVisible="False" 
                        SortExpression="userid">
                        <EditItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("userid") %>'></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label11" runat="server" Text='<%# Bind("userid") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="权限代码" SortExpression="permisscode">
                        <EditItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("permisscode") %>'></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label21" runat="server" Text='<%# Bind("permisscode") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="权限" SortExpression="permissname">
                        <EditItemTemplate>
                            <asp:Label ID="Label3" runat="server" Text='<%# Bind("permissname") %>'></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label31" runat="server" Text='<%# Bind("permissname") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="统计标准">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("assessmentid") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label4" runat="server" Text='<%# Bind("assessmentid") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="姓名" SortExpression="name">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("name") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label5" runat="server" Text='<%# Bind("name") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="密码" SortExpression="pwd">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("pwd") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label6" runat="server" Text='<%# Bind("pwd") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="电话" SortExpression="phone">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("phone") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label7" runat="server" Text='<%# Bind("phone") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="支付帐号" SortExpression="payinfo">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("payinfo") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label8" runat="server" Text='<%# Bind("payinfo") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:CommandField ShowEditButton="True" />
                    <asp:CommandField ShowDeleteButton="True" />
                </Columns>
                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            </asp:GridView>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="server=127.0.0.1;User Id=root;password=11111111;Persist Security Info=True;database=epaper" 
                ProviderName="MySql.Data.MySqlClient" 
                SelectCommand="SELECT users.userid, users.permisscode, users.permissname, users.name, users.pwd, users.phone, users.assessmentid, users.payinfo, assessment.assessmentname FROM users INNER JOIN assessment ON users.assessmentid = assessment.assessmentid"></asp:SqlDataSource>
        </fieldset><br />
&nbsp;</center></div>

</asp:Content>
